package com.mall.web.control.jiance;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping(value="/ps/psvoide/")
public class PsDownController {

	@RequestMapping(value="/s/{id}", method = {RequestMethod.GET})
	public ModelAndView getDetail(@PathVariable(value="id") String id){
	    
	    ModelAndView modelAndView = new ModelAndView();  
	    modelAndView.addObject("id", id);  
	    modelAndView.setViewName("ps/down/down");  
	    return modelAndView;
	}
}
